import request from '@/utils/request'

// 查询压力信息列表
export function listRing_stress_change_info(query) {
  return request({
    url: '/ring/ring_stress_change_info/list',
    method: 'get',
    params: query
  })
}

// 查询压力信息详细
export function getRing_stress_change_info(id) {
  return request({
    url: '/ring/ring_stress_change_info/' + id,
    method: 'get'
  })
}

// 新增压力信息
export function addRing_stress_change_info(data) {
  return request({
    url: '/ring/ring_stress_change_info',
    method: 'post',
    data: data
  })
}

// 修改压力信息
export function updateRing_stress_change_info(data) {
  return request({
    url: '/ring/ring_stress_change_info',
    method: 'put',
    data: data
  })
}

// 删除压力信息
export function delRing_stress_change_info(id) {
  return request({
    url: '/ring/ring_stress_change_info/' + id,
    method: 'delete'
  })
}
